package ar.edu.taxi.persistencia;

public class DTOLanguages implements IfDTO{
	
	private int id;
	private String language;
	
	public DTOLanguages() {
		
	}
	
	public DTOLanguages(int id, String language){
		this.id = id;
		this.language = language;
	}
	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getLanguage() {
		return language;
	}

	public void setLanguage(String language) {
		this.language = language;
	}

	@Override
	public boolean isEquals(IfDTO bean) {
		// TODO Auto-generated method stub
		return (this.id == ((DTOLanguages)bean).getId());
	}

}
